<div id="me" class="list">
    <table id="tab" class="tabelas" border="0" cellpadding="5" cellspacing="1" >
        <thead>
            <tr bgcolor="#E1BFCD">                
                <th>Descrição</th>
                <th>Controller</th>
                <th>Menu</th>
                <th>Ativo</th>
                <th>Visível</th>
                <th>Exibir</th>
                <th>Editar</th>
                <th>Excluir</th>
            </tr>
        </thead>
        <tbody>
        <g:each in="${aplicacoes}" status="i" var="aplicacao">
            <tr class="divisoes">
                <td class="divisoes" align="center">${fieldValue(bean:aplicacao, field:'descricao')}</td>
                <td class="divisoes" align="center">${fieldValue(bean:aplicacao, field:'controle')}</td>
                <td class="divisoes" align="center">${fieldValue(bean:aplicacao.menu, field:'descricao')}</td>
                <td class="divisoes" align="center">${(aplicacao.ativo)?'SIM':'NÃO'}</td>
                <td class="divisoes" align="center">${(aplicacao.visivel)?'SIM':'NÃO'}</td>
                <td class="divisoes" align="center"><g:link action="show" id="${aplicacao.id}"><img src="../images/skin/show.gif" border="0" alt="Exibir" title="Exibir"></g:link></td>
                <td class="divisoes" align="center"><g:link action="edit" id="${aplicacao.id}"><img src="../images/skin/database_edit.png" border="0" alt="Editar" title="Editar"></g:link></td>
                <td class="divisoes" align="center"><g:link action="#" ><img id="${aplicacao.id}" class="remover" src="../images/skin/database_delete.png" border="0" alt="Excluir" title="Excluir"></g:link></td>
            </tr>
        </g:each>
        </tbody>
    </table>    
</div>
<div class="paginateButtons">
    <g:paginate total="${qtd}" next="Próximo" prev="Anterior" />
</div>